import request from '@/utils/request'

export function list(params) {
  return request({
    url: `/coupon/read?id=${params}`,
    method: 'get',
  })
}

export function listuser(params) {
  return request({
    url: '/coupon/listuser',
    method: 'get',
    params
  })
}